package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class Log {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("操作模块名称")
    private String operation;
    @ApiModelProperty("客户端IP")
    private String clientIp;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("操作状态 0==成功，1==失败")
    private Byte status;
    @ApiModelProperty("详情")
    private String content;
    @ApiModelProperty("租户id")
    private String tenantId;

    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation == null ? null : operation.trim();
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp == null ? null : clientIp.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId == null ? null : tenantId.trim();
    }

    public String getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(String uploadFlag) {
        this.uploadFlag = uploadFlag == null ? null : uploadFlag.trim();
    }
}
